package com.aboverock.autoconfigure.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * JWt配置类.
 *
 * @author Rock Wang
 */
@ConfigurationProperties(prefix = "kbsmart.jwt")
public class JwtProperties {

    /** 加密秘钥. */
    private String secret = "Data-Smart@Jwt";

    private String header = "bearer";

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public String getHeader() {
        return header;
    }

    public void setHeader(String header) {
        this.header = header;
    }

}
